package com.tjsinfo.tjsoa.system.dao;

import java.util.List;

import com.tjsinfo.tjsoa.system.vo.TSystemDuty;

public interface ISystemDutyDao {
	/**
	 * 添加
	 * @param transientInstance
	 */
	public abstract void save(TSystemDuty transientInstance);
	/**
	 * 删除
	 * @param transientInstance
	 */
	public abstract void delete(TSystemDuty persistentInstance);
	/**
	 * 根据ID查询
	 * @param transientInstance
	 */
	public abstract TSystemDuty findById(java.lang.String id);
	/**
	 * 根据用例查询
	 * @param transientInstance
	 */
	public abstract List findByExample(TSystemDuty instance);
	/**
	 * 根据属性查询
	 * @param transientInstance
	 */
	public abstract List findByProperty(String propertyName, Object value);
	/**
	 * 查询所有
	 * @param transientInstance
	 */
	public abstract List findAll();
	/**
	 * 更新
	 * @param transientInstance
	 */
	public abstract TSystemDuty merge(TSystemDuty detachedInstance);

	public abstract void attachDirty(TSystemDuty instance);

	public abstract void attachClean(TSystemDuty instance);
	
	public boolean update(TSystemDuty detachedInstance);

}